package com.hd.mp.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hd.mp.domain.User;
import com.hd.mp.service.UserService;
import com.hd.mp.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 86135
* @description 针对表【user(用户表)】的数据库操作Service实现
* @createDate 2022-11-03 11:04:07
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Autowired
    UserMapper userMapper;
    @Override
    public IPage<User> selectUserPage(Page<User> page, User user) {
        IPage<User> ipage  = userMapper.selectUserPage(page,user);
        return ipage;
    }

}




